  /* ==========================================================================
       DESIGN TOKENS & RESET
       ========================================================================== */
    :root {
      --blue-primary: #1565c0;
      --blue-secondary: #0d47a1;
      --blue-accent: #1e88e5;
      --blue-light: #e3f2fd;
      --blue-dark-bg: #0a192f;
      --card-bg: rgba(13, 37, 72, 0.95);

      --white: #ffffff;
      --text-main: #f0f4f8;
      --text-muted: #94a3b8;
      --text-subtle: #64748b;

      --font-heading: 'Outfit', sans-serif;
      --font-body: 'Plus Jakarta Sans', sans-serif;
      --font-mono: 'Fira Code', monospace;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      background-color: var(--blue-dark-bg);
      color: var(--text-main);
      font-family: var(--font-body);
      font-size: 16px;
      line-height: 1.6;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      overflow-x: hidden;
      padding-top: 110px; /* Space for fixed banner + nav */
    }

    /* ==========================================================================
       TOP RUNNING BANNER
       ========================================================================== */
    .top-banner {
      width: 100%;
      height: 35px;
      background: linear-gradient(90deg, var(--blue-secondary), var(--blue-accent));
      color: var(--white);
      font-size: 0.88rem;
      font-weight: 600;
      position: fixed;
      top: 0;
      left: 0;
      z-index: 2000;
      display: flex;
      align-items: center;
      overflow: hidden;
    }

    .top-banner span {
      display: inline-block;
      white-space: nowrap;
      padding-left: 100%;
      animation: scrollBanner 24s linear infinite;
    }

    @keyframes scrollBanner {
      0% { transform: translateX(0); }
      100% { transform: translateX(-100%); }
    }

    /* ==========================================================================
       NAVBAR
       ========================================================================== */
    .top-navbar {
      width: 100%;
      position: fixed;
      top: 35px;
      left: 0;
      padding: 10px 24px;
      background: rgba(10, 25, 47, 0.92);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border-bottom: 1px solid rgba(30, 136, 229, 0.35);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      transition: all 0.3s ease;
      z-index: 1500;
    }

    .top-navbar.scrolled {
      background: rgba(8, 20, 38, 0.98);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
      padding: 8px 24px;
    }

    /* Logo & Branding */
    .top-logo {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-shrink: 0;
    }

    .top-logo img {
      display: block;
      object-fit: contain;
      background: rgba(255, 255, 255, 0.05);
    }

    .top-logo.left img {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      border: 1.5px solid var(--blue-accent);
    }

    .top-logo.right img {
      width: 40px;
      height: 40px;
      border-radius: 6px;
      border: 1.5px solid var(--blue-accent);
    }

    .brand-text-group {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 2px;
      line-height: 1.2;
    }

    .brand-name {
      font-family: var(--font-heading);
      font-size: 1.15rem;
      font-weight: 700;
      letter-spacing: 0.3px;
      color: var(--white);
      white-space: nowrap;
      text-shadow: 0 2px 6px rgba(30, 136, 229, 0.4);
    }

    .brand-subtitle {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .badge-grade {
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 1px;
      color: #64b5f6;
      background: rgba(30, 136, 229, 0.15);
      border: 1px solid rgba(100, 181, 246, 0.3);
      padding: 1px 6px;
      border-radius: 4px;
      text-transform: uppercase;
    }

    .sub-dot {
      font-size: 0.6rem;
      color: var(--text-muted);
      opacity: 0.6;
    }

    .badge-subject {
      font-size: 0.65rem;
      font-weight: 600;
      letter-spacing: 1.2px;
      color: var(--text-muted);
      text-transform: uppercase;
    }

    /* Links */
    .top-links {
      list-style: none;
      display: flex;
      align-items: center;
      gap: 18px;
    }

    .top-links a {
      color: var(--text-main);
      text-decoration: none;
      font-size: 0.92rem;
      font-weight: 600;
      padding: 6px 2px;
      position: relative;
      transition: color 0.25s ease;
    }

    .top-links a::after {
      content: "";
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 0%;
      height: 2.5px;
      background: var(--blue-accent);
      transition: width 0.25s ease;
    }

    .top-links a:hover,
    .top-links a.active {
      color: var(--blue-light);
    }

    .top-links a:hover::after,
    .top-links a.active::after {
      width: 100%;
    }

    /* Header Right Actions */
    .top-right-group {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-shrink: 0;
    }

    .nav-exit-btn {
      background: linear-gradient(135deg, #d32f2f, #b71c1c);
      color: var(--white);
      border: none;
      border-radius: 6px;
      padding: 6px 14px;
      font-size: 0.88rem;
      font-family: var(--font-body);
      font-weight: 600;
      cursor: pointer;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .nav-exit-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 3px 10px rgba(211, 47, 47, 0.4);
    }

    /* Mobile Hamburger */
    .nav-toggle {
      display: none;
      flex-direction: column;
      justify-content: space-between;
      width: 26px;
      height: 20px;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 0;
      z-index: 1600;
    }

    .nav-toggle span {
      display: block;
      height: 2.5px;
      width: 100%;
      background: var(--white);
      border-radius: 3px;
      transition: all 0.3s ease;
    }

    .nav-toggle.open span:nth-child(1) {
      transform: translateY(8.5px) rotate(45deg);
    }
    .nav-toggle.open span:nth-child(2) {
      opacity: 0;
    }
    .nav-toggle.open span:nth-child(3) {
      transform: translateY(-8.5px) rotate(-45deg);
    }

    /* ==========================================================================
       EXIT CONFIRMATION MODAL
       ========================================================================== */
    .exit-modal-overlay {
      position: fixed;
      inset: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(5, 12, 26, 0.75);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    .exit-modal-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    .exit-modal-card {
      width: 90%;
      max-width: 380px;
      background: var(--card-bg);
      border: 1px solid rgba(41, 121, 255, 0.35);
      border-radius: 14px;
      padding: 24px 20px;
      text-align: center;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(41, 121, 255, 0.2);
      transform: scale(0.92);
      transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .exit-modal-overlay.active .exit-modal-card {
      transform: scale(1);
    }

    .exit-modal-icon {
      font-size: 2.2rem;
      margin-bottom: 8px;
    }

    .exit-modal-title {
      font-family: var(--font-heading);
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--white);
      margin-bottom: 8px;
    }

    .exit-modal-desc {
      font-size: 0.92rem;
      color: var(--text-muted);
      line-height: 1.5;
      margin-bottom: 22px;
    }

    .exit-modal-actions {
      display: flex;
      gap: 12px;
      justify-content: center;
    }

    .btn-modal-cancel,
    .btn-modal-confirm {
      flex: 1;
      font-family: var(--font-body);
      font-size: 0.9rem;
      font-weight: 600;
      padding: 9px 16px;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .btn-modal-cancel {
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: var(--text-main);
    }

    .btn-modal-cancel:hover {
      background: rgba(255, 255, 255, 0.16);
      color: var(--white);
    }

    .btn-modal-confirm {
      background: linear-gradient(135deg, #dc2626, #b91c1c);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: var(--white);
      box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
    }

    .btn-modal-confirm:hover {
      background: linear-gradient(135deg, #ef4444, #dc2626);
      transform: translateY(-1px);
      box-shadow: 0 6px 16px rgba(220, 38, 38, 0.45);
    }

    /* ==========================================================================
       SITE FOOTER
       ========================================================================== */
    .site-footer {
      position: relative;
      width: 100%;
      background: linear-gradient(180deg, rgba(8, 20, 38, 0.85) 0%, #060e1d 100%);
      border-top: 1px solid rgba(41, 121, 255, 0.25);
      color: var(--text-muted);
      margin-top: auto;
      overflow: hidden;
    }

    .footer-glow-bar {
      position: absolute;
      top: -1px;
      left: 10%;
      width: 80%;
      height: 2px;
      background: linear-gradient(90deg, transparent, #2979ff, #60a5fa, transparent);
      box-shadow: 0 0 15px rgba(41, 121, 255, 0.6);
    }

    .footer-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 50px 24px 35px 24px;
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 40px;
    }

    .footer-heading {
      font-family: var(--font-heading);
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--white);
      margin-bottom: 18px;
      position: relative;
      display: inline-block;
    }

    .footer-heading::after {
      content: "";
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 24px;
      height: 2px;
      background: var(--blue-accent);
      border-radius: 2px;
    }

    .footer-logo-row {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 14px;
    }

    .footer-seal {
      width: 44px;
      height: 44px;
      object-fit: contain;
      border-radius: 50%;
      border: 1.5px solid var(--blue-accent);
    }

    .footer-brand-title {
      display: block;
      font-family: var(--font-heading);
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--white);
      line-height: 1.2;
      margin-bottom: 3px;
    }

    .footer-tags {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .footer-desc {
      font-size: 0.88rem;
      line-height: 1.55;
      color: var(--text-muted);
      margin-bottom: 16px;
      max-width: 540px;
    }

    .footer-formula-pill {
      display: inline-flex;
      align-items: center;
      background: rgba(41, 121, 255, 0.08);
      border: 1px solid rgba(41, 121, 255, 0.3);
      padding: 6px 14px;
      border-radius: 8px;
      box-shadow: inset 0 0 10px rgba(41, 121, 255, 0.05);
    }

    .footer-formula-pill code {
      font-family: var(--font-mono);
      font-size: 0.82rem;
      color: #93c5fd;
    }

    .footer-specs-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-bottom: 16px;
    }

    .spec-item {
      display: flex;
      flex-direction: column;
      font-size: 0.85rem;
    }

    .spec-label {
      font-size: 0.75rem;
      color: var(--text-subtle);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      font-weight: 600;
    }

    .spec-val {
      color: var(--text-main);
      font-weight: 500;
    }

    .footer-partner-logo {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.1);
      padding: 6px 12px;
      border-radius: 8px;
      width: fit-content;
    }

    .footer-partner-logo img {
      width: 28px;
      height: 28px;
      object-fit: contain;
      border-radius: 4px;
    }

    .footer-partner-logo span {
      font-size: 0.8rem;
      font-weight: 600;
      color: #cbd5e1;
    }

    /* Footer Bottom Bar */
    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      background: rgba(4, 10, 20, 0.95);
      padding: 18px 24px;
    }

    .footer-bottom-inner {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
    }

    .copyright-text {
      font-size: 0.82rem;
      color: var(--text-subtle);
    }

    .copyright-text strong {
      color: var(--text-muted);
    }

    .back-to-top {
      color: #60a5fa;
      font-size: 0.82rem;
      font-weight: 600;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 5px 12px;
      border-radius: 6px;
      background: rgba(41, 121, 255, 0.1);
      border: 1px solid rgba(41, 121, 255, 0.25);
      transition: all 0.2s ease;
    }

    .back-to-top:hover {
      background: rgba(41, 121, 255, 0.2);
      color: var(--white);
      transform: translateY(-2px);
    }

/* ==========================================
   SIMPLE PHYSICS LESSONS DROPDOWN
   ========================================== */

.phy-nav-dropdown {
  position: relative;
  list-style: none;
}

/* Lessons link and arrow */
.phy-nav-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
}

.phy-nav-main-link {
  color: inherit;
  text-decoration: none;
}

.phy-nav-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.phy-nav-arrow svg {
  transition: transform .2s ease;
}

.phy-nav-dropdown.is-open .phy-nav-arrow svg {
  transform: rotate(180deg);
}

/* Dropdown box */
.phy-nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 290px;
  margin: 0;
  padding: 8px;
  list-style: none;

  background: #ffffff;
  border: 1px solid #dce8f4;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(20, 65, 110, .10);

  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: .2s ease;
  z-index: 9999;
}

/* Open dropdown */
.phy-nav-dropdown.is-open > .phy-nav-menu,
.phy-nav-dropdown:focus-within > .phy-nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Chapter heading */
.phy-nav-menu-heading {
  padding: 9px 11px;
  color: #68849e;
  font-size: 11px;
  font-weight: 700;
}

.phy-nav-pulse {
  display: none;
}

/* Lesson items */
.phy-nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  margin: 2px 0;
  border-radius: 7px;
  text-decoration: none;
  color: #254967;
  transition: background .2s ease;
}

.phy-nav-menu > li > a:hover {
  background: #edf6ff;
  color: #176bc4;
}

/* Lesson number */
.phy-nav-num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 36px;
  background: #edf5fc;
  border-radius: 6px;
  color: #176bc4;
  font-size: 12px;
  font-weight: 700;
}

/* Lesson title */
.phy-nav-item-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.phy-nav-item-text strong {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.phy-nav-item-text small {
  font-size: 10px;
  color: #8194a5;
}

/* Bottom link */
.phy-nav-footer {
  border-top: 1px solid #e6edf4;
  margin-top: 5px;
  padding-top: 5px;
}

.phy-nav-menu .phy-nav-footer a {
  color: #176bc4;
  font-size: 12px;
  font-weight: 600;
  justify-content: space-between;
}

/* Mobile */
@media (max-width: 900px) {
  .phy-nav-dropdown {
    width: 100%;
  }

  .phy-nav-trigger {
    justify-content: space-between;
  }

  .phy-nav-menu {
    position: static;
    width: 100%;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    box-shadow: none;
    border: none;
    transform: none;
    opacity: 0;
    visibility: hidden;
  }

  .phy-nav-dropdown.is-open > .phy-nav-menu,
  .phy-nav-dropdown:focus-within > .phy-nav-menu {
    max-height: 450px;
    padding: 6px;
    margin-top: 5px;
    background: #f7fbff;
    opacity: 1;
    visibility: visible;
  }
}


    /* ==========================================================================
       MEDIA QUERIES & RESPONSIVENESS
       ========================================================================== */
    @media screen and (max-width: 992px) {
      .nav-toggle {
        display: flex;
      }

      .nav-container {
        position: fixed;
        top: 75px;
        right: -100%;
        width: 260px;
        height: calc(100vh - 75px);
        background: rgba(10, 25, 47, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-left: 1px solid rgba(30, 136, 229, 0.3);
        padding: 30px 20px;
        transition: right 0.3s ease;
        box-shadow: -6px 0 20px rgba(0, 0, 0, 0.5);
      }

      .nav-container.open {
        right: 0;
      }

      .top-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
      }

      .top-links a {
        font-size: 1.05rem;
        display: block;
        width: 100%;
      }

      .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
      }
    }

    @media screen and (max-width: 600px) {
      body {
        padding-top: 100px;
      }

      .top-navbar {
        padding: 8px 14px;
      }

      .brand-name {
        font-size: 0.92rem;
      }

      .badge-grade,
      .badge-subject {
        font-size: 0.58rem;
        letter-spacing: 0.8px;
      }

      .top-logo.left img,
      .top-logo.right img {
        width: 34px;
        height: 34px;
      }

      .nav-exit-btn {
        padding: 5px 10px;
        font-size: 0.8rem;
      }

      .footer-container {
        padding: 36px 16px 24px 16px;
      }

      .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
      }

      .footer-formula-pill {
        width: 100%;
        justify-content: center;
      }
    }
    :root {
  --abx-navy: #102d50;
  --abx-blue: #1769c2;
  --abx-primary: #287fda;
  --abx-sky: #67b8f4;
  --abx-light: #eaf5ff;
  --abx-pale: #f4f9ff;
  --abx-white: #ffffff;
  --abx-text: #263b55;
  --abx-muted: #71839a;
  --abx-border: #dceafb;
  --abx-shadow: 0 18px 55px rgba(30, 91, 155, .10);
  --abx-radius: 24px;
  --abx-font: 'DM Sans', sans-serif;
  --abx-heading: 'Montserrat', sans-serif;
}


/* =========================================================
   GLOBAL ABOUT PAGE SETTINGS
========================================================= */

#about,
#my-biographic,
.abx-school-section,
.abx-principal-section,
.abx-contact-section {
  box-sizing: border-box;
  font-family: var(--abx-font);
  position: relative;
}

#my-biographic *,
.abx-school-section *,
.abx-principal-section *,
.abx-contact-section *,
#about * {
  box-sizing: border-box;
}

#my-biographic,
.abx-school-section,
.abx-principal-section,
.abx-contact-section {
  isolation: isolate;
}

#my-biographic::before,
.abx-school-section::before,
.abx-principal-section::before,
.abx-contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 10% 15%,
    rgba(74, 159, 235, .10) 0 2px, transparent 3px),
    radial-gradient(circle at 90% 80%,
    rgba(74, 159, 235, .09) 0 2px, transparent 3px);
  background-size: 34px 34px, 45px 45px;
}


/* =========================================================
   SHARED SECTION LABEL
========================================================= */

.abx-section-label {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 1250px;
  margin: 0 auto 35px;
  padding: 0 20px;
}

.abx-section-label span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.3px;
  color: var(--abx-blue);
  white-space: nowrap;
}

.abx-section-label div {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--abx-border),
    transparent
  );
}


/* =========================================================
   01. VIDEO SHOWCASE
========================================================= */

.abx-video-section {
  padding: 75px 5% 85px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%,
    #d9efff 0%, transparent 65%),
    linear-gradient(180deg, #f5faff, #ffffff);
}

.abx-video-heading {
  max-width: 800px;
  margin: 0 auto 35px;
}

.abx-eyebrow {
  display: inline-block;
  color: var(--abx-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 15px;
}

.abx-video-heading h1 {
  font-family: var(--abx-heading);
  font-size: clamp(32px, 5vw, 55px);
  font-weight: 800;
  color: var(--abx-navy);
  margin: 0 0 15px;
  letter-spacing: -2px;
}

.abx-video-heading h1 span {
  color: var(--abx-primary);
}

.abx-video-heading p {
  font-size: 15px;
  color: var(--abx-muted);
  line-height: 1.8;
  margin: 0;
}

.abx-video-frame {
  position: relative;
  max-width: 1150px;
  margin: auto;
  padding: 9px;
  border-radius: 28px;
  background: linear-gradient(
    135deg,
    #ffffff,
    #d6eaff,
    #ffffff
  );
  box-shadow:
    0 25px 65px rgba(27, 96, 166, .17),
    0 0 0 1px rgba(80, 153, 220, .15);
  overflow: hidden;
}

.abx-video-frame video {
  width: 100%;
  height: clamp(260px, 48vw, 580px);
  display: block;
  object-fit: cover;
  border-radius: 21px;
  background: #dcecff;
}

.abx-video-caption {
  position: absolute;
  left: 28px;
  bottom: 26px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 17px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50px;
  background: rgba(11, 38, 69, .72);
  backdrop-filter: blur(12px);
  color: white;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.abx-video-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #65c2ff;
  box-shadow: 0 0 12px #65c2ff;
}


/* =========================================================
   02. BIOGRAPHIC SECTION
========================================================= */

#my-biographic {
  padding: 85px 5%;
  background:
    radial-gradient(circle at 90% 10%,
    #e0f1ff 0%, transparent 35%),
    linear-gradient(130deg, #ffffff, #f1f8ff);
  overflow: hidden;
}

.abx-bio-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 65px;
  max-width: 1250px;
  margin: auto;
}


/* LEFT CONTENT */

.abx-bio-content {
  position: relative;
  z-index: 2;
}

.abx-small-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  background: #e4f2ff;
  color: var(--abx-blue);
  border: 1px solid #cce5ff;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.abx-bio-content h2 {
  font-family: var(--abx-heading);
  font-size: clamp(36px, 4vw, 55px);
  line-height: 1.2;
  letter-spacing: -2px;
  color: var(--abx-navy);
  margin: 25px 0 20px;
}

.abx-bio-content h2 span {
  color: var(--abx-primary);
}

.abx-bio-content h3 {
  font-size: 20px;
  color: #1b4c7e;
  font-weight: 700;
  margin: 0 0 18px;
}

.abx-bio-content p {
  color: #52677f;
  font-size: 14px;
  line-height: 2;
  text-align: justify;
  margin: 0 0 17px;
}


/* BIOGRAPHY STAT CARDS */

.abx-bio-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 30px 0;
}

.abx-stat-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 16px 11px;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--abx-border);
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(30, 91, 155, .05);
  transition: .3s ease;
}

.abx-stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--abx-sky);
  box-shadow: var(--abx-shadow);
}

.abx-stat-card > i {
  color: var(--abx-primary);
  font-size: 21px;
}

.abx-stat-card strong {
  display: block;
  color: var(--abx-navy);
  font-size: 12px;
  font-weight: 800;
}

.abx-stat-card span {
  display: block;
  margin-top: 4px;
  color: var(--abx-muted);
  font-size: 9px;
  line-height: 1.5;
}

.abx-bio-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 15px 24px;
  color: white;
  background: linear-gradient(120deg, #1769c2, #4a9be8);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(40,127,218,.23);
  transition: .3s ease;
}

.abx-bio-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(40,127,218,.32);
}


/* =========================================================
   3D PHOTO GALLERY
========================================================= */

.abx-gallery-area {
  min-width: 0;
  text-align: center;
  padding: 20px 0;
}

.abx-gallery-heading > span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--abx-blue);
}

.abx-gallery-heading h3 {
  font-family: var(--abx-heading);
  color: var(--abx-navy);
  font-size: 20px;
  margin: 10px 0 0;
}

.abx-gallery-stage {
  height: 410px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1100px;
  overflow: visible;
}

.abx-photo-ring {
  position: relative;
  width: 190px;
  height: 230px;
  transform-style: preserve-3d;
  animation: abxRingRotation 24s linear infinite;
}

.abx-gallery-stage:hover .abx-photo-ring {
  animation-play-state: paused;
}

.abx-photo-ring img {
  position: absolute;
  inset: 0;
  width: 190px;
  height: 230px;
  object-fit: cover;
  border-radius: 17px;
  padding: 5px;
  background: white;
  border: 1px solid #d6eaff;
  box-shadow:
    0 18px 35px rgba(14, 66, 119, .18);
  backface-visibility: hidden;
  transition: .4s ease;
}

.abx-photo-ring img:nth-child(1) {
  transform: rotateY(0deg) translateZ(265px);
}

.abx-photo-ring img:nth-child(2) {
  transform: rotateY(60deg) translateZ(265px);
}

.abx-photo-ring img:nth-child(3) {
  transform: rotateY(120deg) translateZ(265px);
}

.abx-photo-ring img:nth-child(4) {
  transform: rotateY(180deg) translateZ(265px);
}

.abx-photo-ring img:nth-child(5) {
  transform: rotateY(240deg) translateZ(265px);
}

.abx-photo-ring img:nth-child(6) {
  transform: rotateY(300deg) translateZ(265px);
}

@keyframes abxRingRotation {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

.abx-gallery-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--abx-muted);
  font-size: 11px;
  background: white;
  border: 1px solid var(--abx-border);
  padding: 12px 18px;
  border-radius: 50px;
}


/* =========================================================
   03. SCHOOL SECTION
========================================================= */

.abx-school-section {
  padding: 85px 5%;
  background:
    linear-gradient(135deg, #edf6ff, #ffffff 55%, #eaf5ff);
  overflow: hidden;
}

.abx-school-card {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 45px;
  align-items: center;
  padding: 45px;
  background: rgba(255,255,255,.92);
  border: 1px solid #dcecff;
  border-radius: 28px;
  box-shadow: var(--abx-shadow);
  position: relative;
  overflow: hidden;
}

.abx-school-card::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -120px;
  top: -140px;
  background: #e0f0ff;
  border-radius: 50%;
  z-index: 0;
}

.abx-school-brand,
.abx-school-content {
  position: relative;
  z-index: 1;
}

.abx-school-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.abx-school-logo-frame {
  width: 230px;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #e4f2ff, #ffffff);
  border: 8px solid white;
  outline: 1px solid #d3e8ff;
  border-radius: 30px;
  box-shadow: 0 15px 35px rgba(36, 105, 171, .12);
}

.abx-school-logo-frame img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  border-radius: 12px;
}

.abx-school-brand > span {
  font-size: 10px;
  font-weight: 800;
  color: var(--abx-blue);
  letter-spacing: 2px;
}

.abx-school-content h2 {
  font-family: var(--abx-heading);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.4;
  color: var(--abx-navy);
  margin: 20px 0;
}

.abx-school-content h2 span {
  color: var(--abx-primary);
}

.abx-school-content p {
  font-size: 14px;
  line-height: 2;
  color: var(--abx-muted);
  text-align: justify;
  margin-bottom: 25px;
}

.abx-school-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.abx-school-features div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 13px;
  background: #edf6ff;
  border-radius: 10px;
  color: #235c99;
  font-size: 11px;
  font-weight: 700;
}

.abx-school-features i {
  color: var(--abx-primary);
}


/* SCHOOL VIDEO */

.abx-school-video-card {
  max-width: 1200px;
  margin: 45px auto 0;
  padding: 25px;
  background: white;
  border: 1px solid var(--abx-border);
  border-radius: 25px;
  box-shadow: var(--abx-shadow);
}

.abx-video-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.abx-video-title span {
  color: var(--abx-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.abx-video-title h3 {
  font-family: var(--abx-heading);
  font-size: 22px;
  color: var(--abx-navy);
  margin: 8px 0 0;
}

.abx-video-title > i {
  color: var(--abx-primary);
  font-size: 28px;
  padding: 16px;
  background: #eaf5ff;
  border-radius: 15px;
}

.abx-school-video {
  display: block;
  width: 100%;
  max-height: 560px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #dcecff;
  border-radius: 17px;
}



/* =========================================================
   04. PRINCIPAL SECTION — SINGLE CENTERED CARD
   LIGHT BLUE • PROFESSIONAL • RESPONSIVE
========================================================= */

.abx-principal-section {
  padding: 65px 5%;
  background:
    radial-gradient(circle at 50% 0%, #e3f2ff, transparent 55%),
    #ffffff;
}

/* SECTION HEADING */
.abx-principal-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 35px;
}

.abx-principal-heading > span {
  color: var(--abx-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.5px;
}

.abx-principal-heading h2 {
  font-family: var(--abx-heading);
  font-size: clamp(28px, 4vw, 42px);
  color: var(--abx-navy);
  margin: 12px 0;
}

.abx-principal-heading h2 span {
  color: var(--abx-primary);
}

.abx-principal-heading p {
  font-size: 14px;
  color: var(--abx-muted);
  line-height: 1.8;
}

/* SINGLE CARD GRID */
.abx-principal-grid {
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

/* PRINCIPAL CARD */
.abx-principal-card {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--abx-border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(25, 85, 145, 0.08);
  transition: transform 0.35s ease,
              box-shadow 0.35s ease;
}

.abx-principal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(25, 85, 145, 0.14);
}

/* PHOTO FRAME */
.abx-principal-photo-frame {
  position: relative;
  height: 340px;
  padding: 12px;
  background: linear-gradient(135deg, #e4f2ff, #f8fbff);
  overflow: hidden;
}

.abx-principal-photo-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 14px;
  transition: transform 0.5s ease;
}

.abx-principal-card:hover .abx-principal-photo-frame img {
  transform: scale(1.03);
}

/* PHOTO NUMBER */
.abx-principal-number {
  position: absolute;
  top: 24px;
  left: 24px;
  padding: 8px 13px;
  background: rgba(13, 54, 93, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

/* INFORMATION */
.abx-principal-info {
  padding: 28px 32px;
}

.abx-role-label {
  display: inline-block;
  color: var(--abx-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.abx-principal-info h3 {
  font-family: var(--abx-heading);
  color: var(--abx-navy);
  font-size: 23px;
  margin: 12px 0;
}

.abx-principal-info p {
  color: var(--abx-muted);
  font-size: 13px;
  line-height: 1.9;
  text-align: justify;
}

/* FOOTER */
.abx-principal-footer {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid #e8f1fb;
  color: var(--abx-blue);
  font-size: 11px;
  font-weight: 700;
}

/* TABLET */
@media (max-width: 768px) {
  .abx-principal-section {
    padding: 50px 20px;
  }

  .abx-principal-grid {
    max-width: 550px;
  }

  .abx-principal-photo-frame {
    height: 300px;
  }

  .abx-principal-info {
    padding: 24px;
  }
}

/* MOBILE */
@media (max-width: 480px) {
  .abx-principal-section {
    padding: 40px 15px;
  }

  .abx-principal-grid {
    max-width: 100%;
  }

  .abx-principal-card {
    border-radius: 16px;
  }

  .abx-principal-photo-frame {
    height: 260px;
    padding: 9px;
  }

  .abx-principal-info {
    padding: 20px;
  }

  .abx-principal-info h3 {
    font-size: 20px;
  }

  .abx-principal-info p {
    font-size: 12px;
  }
}


/* =========================================================
   05. CONTACT SECTION
========================================================= */

.abx-contact-section {
  padding: 85px 5% 100px;
  background:
    radial-gradient(ellipse at 5% 10%,
    #dcefff, transparent 45%),
    linear-gradient(145deg, #f4f9ff, #ffffff);
}

.abx-contact-heading {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 45px;
}

.abx-contact-heading h2 {
  font-family: var(--abx-heading);
  font-size: clamp(30px, 4vw, 45px);
  line-height: 1.3;
  color: var(--abx-navy);
  margin: 15px 0;
  letter-spacing: -1px;
}

.abx-contact-heading h2 span {
  color: var(--abx-primary);
}

.abx-contact-heading p {
  color: var(--abx-muted);
  font-size: 14px;
  line-height: 1.8;
}


/* CONTACT MAIN CARD */

.abx-contact-card {
  max-width: 1150px;
  margin: auto;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  background: white;
  border: 1px solid var(--abx-border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(29, 89, 148, .12);
}


/* CONTACT IMAGE */

.abx-contact-image {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: linear-gradient(145deg, #a6d5ff, #1769c2);
}

.abx-contact-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.abx-contact-image:hover img {
  transform: scale(1.05);
}

.abx-contact-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 25%,
    rgba(8, 37, 69, .88) 100%
  );
}

.abx-contact-image-overlay {
  position: absolute;
  z-index: 2;
  left: 30px;
  right: 25px;
  bottom: 35px;
  color: white;
}

.abx-contact-image-overlay span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #b8ddff;
}

.abx-contact-image-overlay h3 {
  font-family: var(--abx-heading);
  font-size: 29px;
  margin: 12px 0;
}

.abx-contact-image-overlay p {
  font-size: 12px;
  line-height: 1.8;
  color: #e4f2ff;
}


/* CONTACT DETAILS */

.abx-contact-details {
  padding: 40px;
  min-width: 0;
}

.abx-contact-top > span {
  color: var(--abx-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.abx-contact-top h3 {
  font-family: var(--abx-heading);
  font-size: 28px;
  color: var(--abx-navy);
  margin: 12px 0;
}

.abx-contact-top p {
  font-size: 13px;
  color: var(--abx-muted);
  line-height: 1.7;
  margin-bottom: 25px;
}


/* CONTACT LINKS */

.abx-contact-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.abx-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  min-width: 0;
  text-decoration: none;
  border: 1px solid #e6f0fb;
  border-radius: 13px;
  background: #fbfdff;
  transition: .3s ease;
}

.abx-contact-item:hover {
  transform: translateX(5px);
  border-color: #8ec7fa;
  background: #edf7ff;
  box-shadow: 0 7px 20px rgba(33, 115, 191, .08);
}

.abx-contact-icon {
  width: 43px;
  height: 43px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #e7f3ff;
  color: var(--abx-blue);
  border-radius: 12px;
  font-size: 18px;
  transition: .3s ease;
}

.abx-contact-item:hover .abx-contact-icon {
  color: white;
  background: var(--abx-primary);
}

.abx-contact-text {
  flex: 1;
  min-width: 0;
}

.abx-contact-text small {
  display: block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--abx-muted);
  margin-bottom: 5px;
}

.abx-contact-text strong {
  display: block;
  color: var(--abx-navy);
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
  line-height: 1.6;
}

.abx-contact-arrow {
  color: #8ba8c6;
  font-size: 12px;
  flex-shrink: 0;
}

.abx-contact-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  padding: 15px;
  border-radius: 12px;
  background: #edf7ff;
  color: #2869a7;
  font-size: 11px;
  font-weight: 600;
}

.abx-contact-bottom i {
  font-size: 15px;
  color: #2683d5;
}


/* =========================================================
   ANIMATION SYSTEM
========================================================= */

@keyframes abxFadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.abx-bio-content,
.abx-school-card,
.abx-principal-card,
.abx-contact-card {
  animation: abxFadeUp .8s ease both;
}


/* =========================================================
   RESPONSIVE DESIGN — TABLETS
========================================================= */

@media (max-width: 1050px) {

  .abx-bio-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .abx-bio-content {
    max-width: 850px;
    margin: auto;
  }

  .abx-gallery-area {
    max-width: 650px;
    width: 100%;
    margin: auto;
  }

  .abx-school-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .abx-school-content p {
    text-align: center;
  }

  .abx-school-features {
    justify-content: center;
  }

  .abx-contact-card {
    grid-template-columns: .8fr 1.2fr;
  }

  .abx-contact-details {
    padding: 28px;
  }

}


/* =========================================================
   RESPONSIVE DESIGN — MOBILE
========================================================= */

@media (max-width: 768px) {

  .abx-video-section,
  #my-biographic,
  .abx-school-section,
  .abx-principal-section,
  .abx-contact-section {
    padding: 55px 5%;
  }

  .abx-section-label {
    margin-bottom: 25px;
    padding: 0;
  }

  .abx-section-label span {
    font-size: 9px;
    letter-spacing: 1.4px;
  }

  .abx-video-heading h1 {
    letter-spacing: -1px;
  }

  .abx-video-frame {
    padding: 5px;
    border-radius: 17px;
  }

  .abx-video-frame video {
    height: 280px;
    border-radius: 13px;
  }

  .abx-video-caption {
    left: 15px;
    bottom: 15px;
    font-size: 8px;
  }

  .abx-bio-stats {
    grid-template-columns: 1fr;
  }

  .abx-stat-card {
    padding: 14px;
  }

  .abx-gallery-stage {
    height: 350px;
    perspective: 800px;
    overflow: hidden;
  }

  .abx-photo-ring {
    transform: scale(.75);
  }

  .abx-school-card {
    padding: 25px 18px;
    gap: 30px;
  }

  .abx-school-logo-frame {
    width: 180px;
    height: 180px;
  }

  .abx-school-video-card {
    padding: 13px;
  }

  .abx-principal-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .abx-principal-photo-frame {
    height: 300px;
  }

  .abx-contact-card {
    grid-template-columns: 1fr;
  }

  .abx-contact-image {
    min-height: 380px;
  }

  .abx-contact-details {
    padding: 25px 18px;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

  .abx-video-frame video {
    height: 220px;
  }

  .abx-bio-content h2 {
    font-size: 35px;
  }

  .abx-bio-content p {
    font-size: 13px;
  }

  .abx-gallery-stage {
    height: 290px;
    perspective: 650px;
  }

  .abx-photo-ring {
    transform: scale(.58);
  }

  .abx-school-features {
    flex-direction: column;
    align-items: stretch;
  }

  .abx-school-features div {
    justify-content: center;
  }

  .abx-principal-photo-frame {
    height: 250px;
  }

  .abx-principal-info {
    padding: 20px;
  }

  .abx-contact-image {
    min-height: 320px;
  }

  .abx-contact-image-overlay h3 {
    font-size: 24px;
  }

  .abx-contact-item {
    gap: 10px;
    padding: 11px;
  }

  .abx-contact-icon {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .abx-contact-text strong {
    font-size: 11px;
  }

}


/* =========================================================
   ACCESSIBILITY — REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .abx-photo-ring,
  .abx-bio-content,
  .abx-school-card,
  .abx-principal-card,
  .abx-contact-card {
    animation: none !important;
  }

  .abx-principal-card,
  .abx-contact-item,
  .abx-stat-card {
    transition: none !important;
  }

}/* RESET ONLY THIS SECTION */
section#about.abx-video-section {
  position: relative !important;
  display: block !important;

  width: 100% !important;
  max-width: none !important;

  /* Full available viewport height */
  height: 100vh !important;
  height: 100dvh !important;

  min-height: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  overflow: hidden !important;
  box-sizing: border-box !important;

  background: #000 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* VIDEO CONTAINER */
#about .abx-video-frame {
  position: absolute !important;

  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;

  display: block !important;

  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;

  margin: 0 !important;
  padding: 0 !important;

  overflow: hidden !important;

  background: #000 !important;

  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  transform: none !important;
  box-sizing: border-box !important;
}

/* VIDEO — FILL ENTIRE SECTION */
#about .abx-video-frame video {
  position: absolute !important;

  top: 0 !important;
  left: 0 !important;

  display: block !important;

  width: 100% !important;
  height: 100% !important;

  min-width: 100% !important;
  min-height: 100% !important;

  max-width: none !important;
  max-height: none !important;

  object-fit: cover !important;
  object-position: center center !important;

  margin: 0 !important;
  padding: 0 !important;

  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  transform: none !important;
}

/* REMOVE UNWANTED OLD ELEMENTS */
#about .abx-video-heading,
#about .abx-video-caption,
#about .abx-video-overlay,
#about .abx-eyebrow {
  display: none !important;
}

/* TABLET */
@media (max-width: 992px) {
  section#about.abx-video-section {
    width: 100% !important;
    height: 100dvh !important;
  }

  #about .abx-video-frame video {
    object-fit: cover !important;
    object-position: center !important;
  }
}

/* MOBILE */
@media (max-width: 600px) {
  section#about.abx-video-section {
    width: 100% !important;
    height: 100dvh !important;
    padding: 0 !important;
  }

  #about .abx-video-frame {
    width: 100% !important;
    height: 100% !important;
  }

  #about .abx-video-frame video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }
}